cmake_minimum_required (VERSION 3.12)

project (mztool VERSION 0.0.1 LANGUAGES C CXX)
add_definitions(-std=c++17)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

include_directories(${PROJECT_SOURCE_DIR})

message("SRC_PATH: ${PROJECT_SOURCE_DIR}")

aux_source_directory(${PROJECT_SOURCE_DIR} ALL_SRCS)
aux_source_directory(${PROJECT_SOURCE_DIR}/string ALL_SRCS)
aux_source_directory(${PROJECT_SOURCE_DIR}/concurrent ALL_SRCS)

add_library(mztool STATIC ${ALL_SRCS})
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../lib)